﻿// Copyright (c) Manish Dalal, 2008-2009. All Rights Reserved.
// http://weblogs.asp.net/manishdalal
//
// This product's copyrights are licensed under 
// the CreativeCommons Attribution-ShareAlike (version 3)
// http://creativecommons.org/licenses/by-sa/3.0/

using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;

namespace Dimok.FilteredView {
    /// <summary>
    /// Refresh Event Arguments, provides indication of need for data refresh
    /// </summary>
    public class RefreshEventArgs : EventArgs {
      public SortDescriptionCollection SortDescriptions { get; set; }
      public FilterDescriptionCollection FilterDescriptions { get; set; }
      public RefreshEventArgs() {}
      public RefreshEventArgs(SortDescriptionCollection sortDescriptions, FilterDescriptionCollection filterDescriptions) {
        SortDescriptions = sortDescriptions;
        FilterDescriptions = filterDescriptions;

      }
    }
}
